<template>
    <div>
        <van-sticky :offset-top="0">
            <van-nav-bar title="我的订单" left-text="返回" left-arrow @click-left="onClickLeft" />
        </van-sticky>
        <van-tabs v-model:active="active">
            <van-tab title="全部"><van-empty description="暂无商品" /></van-tab>
            <van-tab title="待支付"><van-empty description="暂无商品" /></van-tab>
            <van-tab title="待收货"><van-empty description="暂无商品" /></van-tab>
            <van-tab title="已完成"><van-empty description="暂无商品" /></van-tab>
        </van-tabs>


    </div>
</template>

<script setup>
import { ref } from 'vue';
 const active = ref(0);
 import { useRouter } from 'vue-router';
let router=useRouter()
const onClickLeft = () => router.go(-1);
</script>

<style lang="scss" scoped></style>